package com.zretc.entity;

import java.util.List;

/**
 * @author 王兴杭
 * 电影和评价
 */
public class FilmAndComment {
    // 影片编号
    private Integer filmId;
    // 影片名称
    private String filmName;
    // 影片简介
    private String filmContent;
    // 播放时长
    private String filmRunTime;
    // 上映时间
    private String filmReleaseTime;
    // 影片封面
    private String filmCover;
    // 影片预告片
    private String filmPrevue;
    // 影片状态 0 上架 1 下架
    private Integer filmStatus;
    //评分 *.*两位
    private  String score;
    // 演员集合
    private List<Actor> actorList;
    // 类型集合
    private List<FilmType> filmTypeList;

    public FilmAndComment() {
    }

    public FilmAndComment(Integer filmId, String filmName, String filmContent, String filmRunTime, String filmReleaseTime, String filmCover, String filmPrevue, Integer filmStatus, String score) {
        this.filmId = filmId;
        this.filmName = filmName;
        this.filmContent = filmContent;
        this.filmRunTime = filmRunTime;
        this.filmReleaseTime = filmReleaseTime;
        this.filmCover = filmCover;
        this.filmPrevue = filmPrevue;
        this.filmStatus = filmStatus;
        this.score = score;
    }

    public Integer getFilmId() {
        return filmId;
    }

    public void setFilmId(Integer filmId) {
        this.filmId = filmId;
    }

    public String getFilmName() {
        return filmName;
    }

    public void setFilmName(String filmName) {
        this.filmName = filmName;
    }

    public String getFilmContent() {
        return filmContent;
    }

    public void setFilmContent(String filmContent) {
        this.filmContent = filmContent;
    }

    public String getFilmRunTime() {
        return filmRunTime;
    }

    public void setFilmRunTime(String filmRunTime) {
        this.filmRunTime = filmRunTime;
    }

    public String getFilmReleaseTime() {
        return filmReleaseTime;
    }

    public void setFilmReleaseTime(String filmReleaseTime) {
        this.filmReleaseTime = filmReleaseTime;
    }

    public String getFilmCover() {
        return filmCover;
    }

    public void setFilmCover(String filmCover) {
        this.filmCover = filmCover;
    }

    public String getFilmPrevue() {
        return filmPrevue;
    }

    public void setFilmPrevue(String filmPrevue) {
        this.filmPrevue = filmPrevue;
    }

    public Integer getFilmStatus() {
        return filmStatus;
    }

    public void setFilmStatus(Integer filmStatus) {
        this.filmStatus = filmStatus;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public List<Actor> getActorList() {
        return actorList;
    }

    public void setActorList(List<Actor> actorList) {
        this.actorList = actorList;
    }

    public List<FilmType> getFilmTypeList() {
        return filmTypeList;
    }

    public void setFilmTypeList(List<FilmType> filmTypeList) {
        this.filmTypeList = filmTypeList;
    }

    @Override
    public String toString() {
        return "FilmAndComment{" +
                "filmId=" + filmId +
                ", filmName='" + filmName + '\'' +
                ", filmContent='" + filmContent + '\'' +
                ", filmRunTime='" + filmRunTime + '\'' +
                ", filmReleaseTime='" + filmReleaseTime + '\'' +
                ", filmCover='" + filmCover + '\'' +
                ", filmPrevue='" + filmPrevue + '\'' +
                ", filmStatus=" + filmStatus +
                ", score='" + score + '\'' +
                ", actorList=" + actorList +
                ", filmTypeList=" + filmTypeList +
                '}';
    }
}
